<%--
  Created by IntelliJ IDEA.
  User: 86189
  Date: 2023/5/22
  Time: 9:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>显示在线人数</title>
    <link rel="stylesheet" href="css/index.css">
    <%@ page isELIgnored="false" %>
</head>
<body>
<div class="content">
    <h2>欢迎您!</h2>
    <div> 当前在线人数为：
        <p style="color: red"><%=session.getServletContext().getAttribute("count") %>
        </p>
    </div>
    在线人数为:${count}
</div>
</body>
</html>
